package util.gui;


public class ScrollPanel extends Panel
{
	protected int scrollSize=LookAndFeel.scrollSize;
	
	public ScrollPanel(int maxWidth,int maxHeight)
	{
		this.setWidth(maxWidth+scrollSize);
		this.setHeight(maxHeight+scrollSize);
	}
	
	public void add(Component child)
	{
		this.child=child;
	}
}
